Edexcel Further Maths Extended Euclidean Algorithm